package liu.thread.jiehai;

public class Jie implements Runnable {
	
	private Accont acc ;
	private boolean flag=true;
	
	

	public Jie(Accont acc) {
		super();
		this.acc = acc;
		
	}



	@Override
	public void run() {
		while(flag){
			flag=acc.getMoney();
		}
		
	}

}
